Term Rewriting with Conditionals and Priority Orderings

نویسندگان

  • Chilukuri K. Mohan
  • Chilukuri
چکیده

Conditional re,vriting and priority re,vriting are two recent generalizations of term rewriting systems. In the former, each re\vrite rule is accompanied by an antecedent which must be sho,vn to hold before rewriting can OCCUI. In the latter, re,vrite rules can be used only' in a particular order. We compare these formalisms: neither formalism encompasses the other in a practical sense, but we give restrictions under which priority and conditional rewriting can be equivalent. We combine the two operational mechanisms, obtaining a natural and expressive formalism called Priority Conditional Rewriting Systems (PCRS). PCRS can be used to "fully-define" data type specifications and function specifications. Towards this goal, restrictions are given that encourage modularity of specifications and ensure properties of termination, confluence, and total reducibility of ground terms. A logical semantics for priority conditional rewriting is described, using equational formulas £(~) obtained from the rules in the PCRS ~; we give conditions under which rewriting with PCRS is sound and

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Termination of term rewriting using dependency pairs

We present techniques to prove termination and innermost termination of term rewriting systems automatically. In contrast to previous approaches, we do not compare left-and right-hand sides of rewrite rules, but introduce the notion of dependency pairs to compare left-hand sides with special subterms of the right-hand sides. This results in a technique which allows to apply existing methods for...

متن کامل

Monomial Orderings, Rewriting Systems, and Gröbner Bases for the Commutator Ideal of a Free Algebra

In this paper we consider a free associative algebra on three generators over an arbitrary field K. Given a term ordering on the commutative polynomial ring on three variables over K, we construct uncountably many liftings of this term ordering to a monomial ordering on the free associative algebra. These monomial orderings are total well orderings on the set of monomials, resulting in a set of...

متن کامل

Notes on Transformation Orderings

An important property and also a crucial point of a term rewriting system is its termination. Transformation or-derings, developed by Bellegarde & Lescanne strongly based on a work of Bachmair & Dershowitz, represent a general technique for extending orderings. The main characteristics of this method are two rewriting relations, one for transforming terms and the other for ensuring the well-fou...

متن کامل

Termination Analysis for Functional Programs using Term Orderings

To prove the termination of a functional program there has to be a well-founded ordering such that the arguments in each recursive call are smaller than the corresponding inputs. In this paper we present a procedure for automated termination proofs of functional programs. In contrast to previously presented methods a suited well-founded ordering does not have to be xed in advance by the user, b...

متن کامل

The First-Order Theory of Lexicographic Path Orderings is Undecidable

The recursive path orderings (short rpo) are orderings on terms introduced by N. Dershowitz. They are the most popular orderings used for proving the termination of term rewriting systems (see [4] for a survey). The reason for the usefulness of these orderings lies in their stability properties: if s > rpo t, then, for every context C, C[s] > rpo C[t] (this is the monotonicity property) and, as...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015